package ntd.util.modular.ai.service;

import ntd.util.modular.ai.entity.Ai;

import java.sql.SQLException;
import java.util.List;

/**
 * Author: yyd
 * Date: 2023-10-24 14:24
 */
public interface AiService  {
    List<Ai> server() throws SQLException;

    Object add(Ai ai) throws SQLException;

    Object edit(String id, Ai ai) throws SQLException;

    Object delete(String id) throws SQLException;

    List<Ai> detail(String id) throws SQLException;
}
